
console.log("------------------mymain--------------");
const util=require("./util");
module.exports.calc=function(a=0,b=0,type="add"){
    let result=0;
    switch(type){
        case "add":
            result=util.add(a,b);
            break
        case "minus":
            result=a-b;
            break

    }
    return result;
};
